@font-face {
  font-family: "tttgbnumber";
  src: url("../../font/tttgbnumber.ttf");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  font-size: 18px;
  color: #1e1f20;
  font-family: PingFangSC-Medium, PingFang SC, sans-serif;
  transform: scale(2);
  transform-origin: 0 0;
}

.container {
  width: 465px;
  padding: 20px 15px 10px 15px;
  background-color: #ececec;
}

.container-win {
  width: 100px;
  height: 60px;
  padding: 0;
  background-color: #c48989;
  position: absolute;
  top: -10px;
  left: 0;
}

.head_box {
  border-radius: 15px;
  font-family: tttgbnumber;
  padding: 10px 20px;
  position: relative;
  box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
}

.head_box .id_text {
  font-size: 24px;
}

.head_box .genshin_logo {
  position: absolute;
  top: 1px;
  right: 15px;
  width: 97px;
}

.basicInfo {
  padding: 10px 5px 15px;
  background: #f5f5f5;
  box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
  border-radius: 15px;
  position: relative;
  margin-bottom: 10px;
}

.basicInfo_header {
  display: flex;
}

.basicInfo_icon {
  display: inline-block;
  position: relative;
}

.basicInfo_icon {
  background-image: url(../../img/deck/七圣召唤.png);
  background-size: 70px 70px;
  background-repeat: no-repeat;
  width: 67px;
  color: #fff;
  text-align: center;
  font-size: 35px;
  line-height: 70px;
  margin: 10px 10px 0;
}

.basicInfo_right {
  display: inline-block;
  width: calc(78% - 15px);
  padding: 10px 0px;
  margin-left: 7px;
}

.basicInfo_right .item {
  width: 100%;
  padding: 5px 10px 0;
  height: 29px;
  color: #877254;
  font-size: 13px;
  border: 1px solid #ebeadc;
  margin: 5px 0;
  background-color: #f5eee4;
  display: flex;
}

.basicInfo_right .item div:first-child {
  width: 50%;
}

.basicInfo_right .item div:nth-child(2) {
  width: 50%;
  text-align: right;
}

.item .text_box {
  font-size: 12px;
  background: #e9e5dc;
  padding: 5px 0px 4px 0px;
  font-family: tttgbnumber;
  display: flex;
  align-items: flex-start;
}

.item .text_box .weapon_box {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 2px;
  border-radius: 5px;
  background: rgba(0, 0, 0, .6);
  overflow: hidden;
  margin-left: 4px;
}

.item .text_box .weapon_boder {
  border: 1px solid #d3bc8d;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  overflow: hidden;
}

.item .text_box .weapon_img {
  width: 100%;
  transform: scale(1.2, 1.2);

}

.item .text_box .weapon_name_box {
  margin-left: 4px;
  white-space: nowrap;
}

.item .text_box .weapon_name_box .weapon_level {
  margin-top: 2px;
}

.item .text_box .weapon_affix {
  border-radius: 2px;
  background-color: #ff5722;
  padding: 2px 3px;
  color: #fff;
  display: inline-block;
  transform: scale(0.8);
  transform-origin: 12px 7px;
}

.avatar_covers {
  display: flex;
  flex-wrap: wrap;
}

.avatar_covers div {
  flex: 0 0 25%;
  padding: 5px;
}

.avatar_covers img {
  width: 100%;
  height: 100%;
  border: 2px solid #c3b6aa;
  border-radius: 5px;
}

.action_covers {
  display: flex;
  flex-wrap: wrap;
}

.action_covers div {
  flex: 0 0 20%;
  padding: 5px;
}

.action_covers img {
  width: 100%;
  height: 100%;
  border: 2px solid #c3b6aa;
  border-radius: 5px;
}

.card-wrapper {
  position: relative;
  width: 25%;
  padding: 5px;
}

.card-win {
  font-size: 15px;
  text-align: center;
}

.card-wrapper img {
  width: 100%;
  height: 100%;
  border: 2px solid #c3b6aa;
  border-radius: 5px;
}

.hp-container {
  position: absolute;
  top: 9%;
  left: 12%;
  transform: translate(-50%, -50%);
}

.hp-container img {
  position: absolute;
  border: none;
  top: 0;
  left: 0;
  width: 25px;
  height: auto;
}

.rq-container img {
  position: absolute;
  border: none;
  top: 0;
  left: 0;
  width: 40px;
  height: auto;
}

.cost-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
}

.va-container {
  position: relative;
  top: -11px;
  left: -2px;
}

.va-container img {
  position: relative;
  border: none;
  top: 0;
  left: 0;
  width: 20px;
  height: auto;
}

.ty-container {
  position: relative;
  top: -6px;
  left: -7px;
}

.ty-container img {
  position: relative;
  border: none;
  top: 0;
  left: 0;
  width: 30px;
  height: auto;
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.logo {
  font-size: 12px;
  font-family: "tttgbnumber";
  text-align: center;
  color: #7994a7;
}

.tab_lable {
  position: absolute;
  top: -10px;
  left: -8px;
  background: #d4b98c;
  color: #fff;
  font-size: 14px;
  padding: 3px 10px;
  border-radius: 15px 0px 15px 15px;
  z-index: 20;
}

.win_lable {
  position: absolute;
  bottom: 0px;
  left: 5px;
  background: #d4b98c;
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 10px 10px 10px 10px;
  z-index: 20;
}

.num_lable {
  position: absolute;
  bottom: 0px;
  right: 5px;
  background: #8ca4d4;
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 10px 10px 10px 10px;
  z-index: 20;
}

.tab-avatar-item {
  height: 30px;
  display: flex;
  position: relative;
  margin: 10px auto;
  margin-top: 0;
  margin-bottom: 20px;
  cursor: pointer;
  min-width: 100px;
  width: 170px;
  text-align: center;
}

.tab-avatar-item-left {
  background: url();
  background-size: 70px 40px;
  height: 40px;
  width: 70px;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
}

.tab-avatar-item-middle {
  z-index: 0;
  height: 40px;
  background-image: url();
  background-repeat: repeat-x;
  background-size: contain;
  position: absolute;
  left: 20px;
  right: 20px;
  width: auto;
}

.tab-avatar-item-right {
  background: url();
  background-size: 70px 40px;
  height: 40px;
  width: 70px;
  z-index: 1;
  position: absolute;
  right: 0;
  top: 0;
}

.tab-avatar-item-text {
  z-index: 2;
  font-size: 20px;
  font-weight: 600;
  line-height: 40px;
  height: 40px;
  position: relative;
  margin: 0 auto;
}